package io;

import java.io.*;

public class BRDemo {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(
                            new InputStreamReader(
                            new FileInputStream("pw.txt")));
        String line;
        while ((line= br.readLine())!=null){
            System.out.println(line);
        }
        br.close();
    }

}
